<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <meta name="description" content="" />
  <meta name="author" content="" />
  <link rel="icon" href="./img/asset-favicon.ico" />
  <title>社交-注册</title>
  <!-- 页面 css js -->
  <!-- <script type="text/javascript" src="../../plugins/sui/sui.min.js" charset="UTF-8"></script> -->
  <link rel="stylesheet" type="text/css" href="./plugins/normalize-css/normalize.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/yui/cssgrids-min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui.min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui-append.min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/font-awesome/css/font-awesome.min.css" />
  <link rel="stylesheet" type="text/css" href="./css/widget-base.css" />
  <link rel="stylesheet" type="text/css" href="./css/widget-head-foot.css" />
  <link rel="stylesheet" type="text/css" href="./css/page-sj-person-loginsign.css" />

  <script type="text/javascript" src="./js/vue-2.5.16.js"></script>
  <script type="text/javascript" src="./js/axios-0.18.0.min.js"></script>
   <script type="text/javascript" src="./js/base.js"></script>
 </head>
 <body>
  <!--头部导航-->
  <header class="head-login">
   <div class="wrapper">
    <div class="sui-navbar">
     <div class="navbar-inner">
      <a href="./index-login.html" class="sui-brand"> <img src="./img/asset-logo-black.png" alt="社交" /> </a>
      <span class="login-text">| 注册</span>
     </div>
    </div>
   </div>
  </header>
  <div class="wrapper loginsign" id="app">
   <div class="item ">
    <div class="form">
     <h3 class="loginsign-title">注册新账号</h3>
        <a href="person-loginsign.html">登陆</a>
     <form class="sui-form" @submit.prevent="on_submit">
      <div class="control-group">
       <label for="inputname" class="control-label">名字</label>
       <div class="controls">
        <input type="text" v-model='username' name="username" @blur="check_username" id="inputname" placeholder="真实姓名或常用昵称" class="input-xlarge" />
       </div>
      </div>
      <div class="different">
       <div class="radio-content">
        <div id="a1" class="phone">
         <div class="control-group number">
          <input type="text" v-model='mobile' name='mobile' @blur="check_mobile" placeholder="仅支持大陆手机号" class="input-xlarge" />
         </div>
         <div class="control-group code">
          <div class="input-append">
           <input id="appendedInputButton" allow='sms_code ' v-model='sms_code' @blur="check_sms_code" type="text" placeholder="短信验证" class="span2 input-large msg-input" />
           <button type="button" @click="send_sms_code" class="sui-btn msg-btn">{{ sms_code_tip }}</button>
          </div>
         </div>
         <div class="control-group">
          <label for="inputpassword" class="control-label" >密码</label>
          <div class="controls">
           <input type="password" id="inputpassword" v-model='password' @blur="check_pwd"  placeholder="密码最少8位，最长20位" class="input-xlarge" />
          </div>
         </div>
        </div>
       </div>
      </div>
      <div class="control-group btn-signup">
       <label class="control-label"></label>
       <div class="controls">
        <label>
            <input type="checkbox" name="allow" v-model='allow' @change="check_allow"/>
            <span class="type-text" style="font-size:12px;">同意协议并接受《服务条款》</span>
        </label>
        <button type="submit"   class="sui-btn btn-danger btn-yes">注 册</button>
       </div>
      </div>
     </form>
    </div>
   </div>

  </div>
  <div class="footer">
   <div class="wrapper">
    <div class="footer-bottom">

     <p class="Copyright">Copyright &copy; 2017 传智问答社区 当前版本 0.0.1</p>
    </div>
   </div>
  </div>
 </body>
 <script type="text/javascript" src="./js/register.js"></script>

</html>